package com.ruoyi.manger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 政务公开新闻对象 t_news_notice
 * 
 * @author ssh
 * @date 2024-12-15
 */
public class NewsNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String title;

    /** 新闻内容数据 */
    @Excel(name = "新闻内容数据")
    private String content;

    /** 数据状态:0-正常,-1删除 */
    @Excel(name = "数据状态:0-正常,-1删除")
    private Long status;

    /** 关键字 */
    @Excel(name = "关键字")
    private String keyword;


    /** url地址 */
    @Excel(name = "url地址")
    private String dataUrl;

    /** 是否轮播 */
    @Excel(name = "是否轮播")
    private Long isSwiper;

    /** 是否热点精选 */
    @Excel(name = "是否热点精选")
    private Long isHot;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Long isShow;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createUserId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserName;

    /** 新闻类型：0-公告，1-新闻 */
    @Excel(name = "新闻类型：0-公告，1-新闻")
    private String newsType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setKeyword(String keyword) 
    {
        this.keyword = keyword;
    }

    public String getKeyword() 
    {
        return keyword;
    }
    public void setDataUrl(String dataUrl) 
    {
        this.dataUrl = dataUrl;
    }

    public String getDataUrl() 
    {
        return dataUrl;
    }

    public Long getIsSwiper() {
        return isSwiper;
    }

    public void setIsSwiper(Long isSwiper) {
        this.isSwiper = isSwiper;
    }

    public void setIsHot(Long isHot)
    {
        this.isHot = isHot;
    }

    public Long getIsHot() 
    {
        return isHot;
    }
    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setCreateUserName(String createUserName) 
    {
        this.createUserName = createUserName;
    }

    public String getCreateUserName() 
    {
        return createUserName;
    }
    public void setNewsType(String newsType) 
    {
        this.newsType = newsType;
    }

    public String getNewsType() 
    {
        return newsType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .append("keyword", getKeyword())
            .append("dataUrl", getDataUrl())
            .append("isSwiper", getIsSwiper())
            .append("isHot", getIsHot())
            .append("isShow", getIsShow())
            .append("createUserId", getCreateUserId())
            .append("createUserName", getCreateUserName())
            .append("newsType", getNewsType())
            .toString();
    }
}
